/**     
 * @Title: UserVo.java   
 * @Package me.swagger2.vo   
 * @Description: TODO
 * @author weiwei 
 * @date 2018年3月29日 上午10:53:11   
 * @version V1.0     
 */
package me.swagger2.vo;

import java.util.Date;

/**
 * @ClassName: UserVo
 * @Description: TODO
 * @author weiwei
 * @date 2018年3月29日 上午10:53:11
 * 
 */
public class UserVo {

	private Long id;

	private Integer age;

	private String name;

	private Date registTime = new Date();

	public UserVo(Long id, String name) {
		this.id = id;
		this.name = name;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the age
	 */
	public Integer getAge() {
		return age;
	}

	/**
	 * @param age
	 *            the age to set
	 */
	public void setAge(Integer age) {
		this.age = age;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the registTime
	 */
	public Date getRegistTime() {
		return registTime;
	}

	/**
	 * @param registTime
	 *            the registTime to set
	 */
	public void setRegistTime(Date registTime) {
		this.registTime = registTime;
	}

	@Override
	public String toString() {
		return "UserVo [id=" + id + ", age=" + age + ", name=" + name + ", registTime=" + registTime + "]";
	}
}
